﻿using System;

using SharedGenomics.Workbench.Core;

namespace SharedGenomics.Workbench.Tests.TestObjects
{
    public class MultiEventSubscriber : IEventSubscriber<object>, IEventSubscriber<string>
    {
        public void Receive(object message)
        {
            this.LastObjectMessage = message;
        }

        public void Receive(string message)
        {
            this.LastStringMessage = message;
        }

        public object LastObjectMessage { get; set; }
        public string LastStringMessage { get; set; }
    }

}
